package com.hb.software.salary.dao;


import com.hb.software.dao.BaseDao;
import com.hb.software.entity.salary.SalaryMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


@Mapper
public interface SalaryMessageDao extends BaseDao<SalaryMessage,Long> {
    List<SalaryMessage> findByName(String name);

    List<SalaryMessage> findAll();

    Integer batchDelete(List<Long> ids);

    List<SalaryMessage> findDatetime(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
}
